import request from '@/utils/request'


export function list(query) {
  return request({
    url: '/main/userTake/list',
    method: 'get',
    params: query
  })
}

// 修改用户
export function updateUserTake(data) {
  return request({
    url: '/main/userTake/edit',
    method: 'put',
    data: data
  })
}

export function excelList(query) {
  return request({
    url: '/main/userTake/excel',
    method: 'get',
    params: query
  })
}
